package com.example.tests;

import org.testng.annotations.Test;

public class SecondContactCreationTests extends TestBaseContact {

	@Test
  public void testNoEmptyContactCreation() throws Exception {
	opemMainPage();
	initCreateNewContact();
    ContactData contact = new ContactData();
    contact.firstname = "Vladimir";
    contact.lastname = "Pavlov";
    contact.address = "Moscow";
    contact.address2 = "Moscow2";
    contact.bday = "1";
    contact.bmonth = "January";
    contact.byear = "1901";
    contact.email = "pavlof.vladimir@gmail.com";
    contact.email2 = "test@test.com";
    contact.home = "8(495)1345768";
    contact.mobile = "89191354678";
    contact.phone2 = "84991234579";
    contact.work = "84951234567";
	fillContactForm(contact);
    submitContactForm();
    gotoMainPage();
  }
}

 